#!usr/bin/env python3
# _*_ coding:utf-8 _*_
from functools import reduce
# from functools import partial

name = ['wangkaixuan','chengangrong','KAIxuan']
num = [1,2,3,2]
def normalize(s):
    def cap(s1):
        return s1.capitalize()
    name = map(cap,s)
    return list(name)

def prod(num):
    def add(s1,s2):
        return s1*s2
    res = reduce(add,num)
    return res

def str2float(str):
    def ch2num()
# print(normalize(name))
# print(prod(num))
